﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace BiffenModel
{
    [DataContract]
    public class Customer : Person
    
        {
            [DataMember]
            private DateTime _birthDate;


            public Customer()
            {

            }

            public Customer(int id, string fname, string lname, string street, string streetNo, string city, int zipCode, string phone, string email, DateTime birthDate)
                : base(id, fname, lname, street, streetNo, city, zipCode, phone, email)
            {
                this._birthDate = birthDate;
            }

            [DataMember]
            public DateTime BirthDate
            {
                get { return _birthDate; }
                set { _birthDate = value; }
            }

        }
    
    
    
    }

